package fr.udata.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import fr.udata.shared.model.UserB;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {
	UserB saveUser(UserB userB) throws IllegalArgumentException;

	UserB getUser(String email) throws IllegalArgumentException;

}
